<?php
/**
 * Created by PhpStorm.
 * User: alinejun
 * Date: 2019/4/17
 * Time: 23:11
 */
namespace app\index\command;

use app\index\controller\Index;
use app\index\controller\ProjectData;
use think\console\Command;
use think\console\Input;
use think\console\Output;

class Data extends Command
{
    protected function configure()
    {
        $this->setName('importData')->setDescription('Here is the remark ');
    }

    protected function execute(Input $input, Output $output)
    {
        $index = new ProjectData();
        $index->importDataV2();
        $output->writeln("TestCommand:");
    }
}